package com.example.ware.dao;

import com.example.ware.entity.WmsWareSkuEntity;
import com.baomidou.mybatisplus.core.mapper.BaseMapper;
import org.apache.ibatis.annotations.Mapper;

/**
 * 商品库存
 *
 * @author WDL
 * @email 2329156214@QQ.com
 * @date 2022-05-01 16:31:00
 */
@Mapper
public interface WmsWareSkuDao extends BaseMapper<WmsWareSkuEntity> {

    void addStock(Long skuId, Long wareId, Integer skuNum);

    Integer hasStock(Long skuId);
}
